package com.sunny.design.bridge.course;

/**
 * @author Sunny
 * @date 2020/3/9
 */
public class CourseTest {
    public static void main(String[] args) {
        AbstractCourse course = new JavaCourse();

        course.setNote(new JavaNote());
        course.setVideo(new JavaVideo());

        course = new PythonCourse();

        course.setNote(new PythonNote());
        course.setVideo(new PythonVideo());

    }
}
